Platform Explorer / Nuxeo Platform 2023.21

Operation FileManager.Import (Create Document from file)

Description

Create Document(s) from Blob(s) using the FileManagerService. The destination container must be passed in a Context variable named currentDocument.
Operation id FileManager.Import
Category Services
Label Create Document from file
Requires
Since

Parameters

Name Description Type Required Default value
noMimeTypeCheck boolean no  
overwite boolean no  
overwrite boolean no  

Signature

Inputs bloblist, blob
Outputs documents, document

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.services.FileManagerImport
Contributing Component org.nuxeo.ecm.core.automation.features.operations

JSON Definition

{
  "id" : "FileManager.Import",
  "label" : "Create Document from file",
  "category" : "Services",
  "requires" : null,
  "description" : "Create Document(s) from Blob(s) using the FileManagerService. The destination container must be passed in a Context variable named currentDocument.",
  "url" : "FileManager.Import",
  "signature" : [ "bloblist", "documents", "blob", "document" ],
  "params" : [ {
    "name" : "noMimeTypeCheck",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "overwite",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "overwrite",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}